<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Creates new RRDCreator instance</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="rrdcreator.adddatasource.html">RRDCreator::addDataSource</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="rrdcreator.save.html">RRDCreator::save</a></div>
 <div class="up"><a href="class.rrdcreator.html">RRDCreator</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="rrdcreator.construct" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">RRDCreator::__construct</h1>
  <p class="verinfo">(PECL rrd &gt;= 0.9.0)</p><p class="refpurpose"><span class="refname">RRDCreator::__construct</span> &mdash; <span class="dc-title">Creates new <a href="class.rrdcreator.html" class="classname">RRDCreator</a> instance</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-rrdcreator.construct-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>RRDCreator::__construct</strong></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$path</code></span>
   [, <span class="methodparam"><span class="type">string</span> <code class="parameter">$startTime</code></span>
   [, <span class="methodparam"><span class="type">int</span> <code class="parameter">$step</code><span class="initializer"> = 0</span></span>
  ]] )</div>

  <p class="para rdfs-comment">
   Creates new RRDCreator instance.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-rrdcreator.construct-parameters">
  <h3 class="title">参数</h3>
  <dl>

   
    <dt>
<em><code class="parameter">path</code></em></dt>

    <dd>

     <p class="para">
      Path for newly created RRD database file.
     </p>
    </dd>

   
   
    <dt>
<em><code class="parameter">startTime</code></em></dt>

    <dd>

     <p class="para">
      Time for the first value in RRD database. Parameter supports all formats
      which are supported by rrd create call.
     </p>
    </dd>

   
   
    <dt>
int<em><code class="parameter">step</code></em></dt>

    <dd>

     <p class="para">
      Base interval in seconds with which data will be fed into the RRD database.
     </p>
    </dd>

   
  </dl>

 </div>


 <div class="refsect1 returnvalues" id="refsect1-rrdcreator.construct-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   没有返回值。
  </p>
 </div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="rrdcreator.adddatasource.html">RRDCreator::addDataSource</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="rrdcreator.save.html">RRDCreator::save</a></div>
 <div class="up"><a href="class.rrdcreator.html">RRDCreator</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
